﻿using System;
using System.Collections.Generic;
using System.Text;
using Vara.Utility;

namespace Vara.Asset
{
    public class AssetEvent : IAssetEvent
    {
        private string _EventType;
        private string _Description;
        private DateTime _DateAndTime = DateTime.Now;
        private string _Username = new Reusable().Username;

        public DateTime DateAndTime { get { return _DateAndTime; } }
        public string Username { get { return _Username; } }
        public string EventType { get { return _EventType; } set { _EventType = value; } }
        public string Description { get { return _Description; } set { _Description = value; } }

        public AssetEvent(string EventType_, string Description_)
        {
            _EventType = EventType_;
            _Description = Description_;
        }

        public AssetEvent(string EventType_, string Description_,string Username_,DateTime DateAndTime_)
        {
            _Username = Username_;
            _DateAndTime = DateAndTime_;
            _EventType = EventType_;
            _Description = Description_;
        }
    }
}
